<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>

<style>
<!--
.input_content{
	width:303px;
	margin:0 auto;
	min-height:200px;
	margin-top:50px;
}
.input_content div input{
	border:0px solid #ddd !important;
	background-color:#ffffff;
	padding:0;
	margin:0;
}
.input_content div.card_no{
	border-left:1px solid #4f5aa4 ;
	border-top:1px solid #4f5aa4 ;
	border-right:1px solid #4f5aa4 ;
	border-bottom:0px solid #ddd ;
	-webkit-border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	-khtml-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
}

.input_content div.password{
	border-left:1px solid #4f5aa4 ;
	border-top:1px solid #ddd ;
	border-right:1px solid #4f5aa4 ;
	border-bottom:1px solid #4f5aa4 ;
	-webkit-border-radius: 0px 0px 4px 4px ;
	-moz-border-radius:0px 0px 4px 4px ;
	-khtml-border-radius: 0px 0px 4px 4px ;
	border-radius: 0px 0px 4px 4px ;
}
.submit_button{
background: url('catalog/view/theme/mobile/image/box.png') repeat-x;
	-webkit-border-radius: 4px 4px 4px 4px ;
	-moz-border-radius:4px 4px 4px 4px ;
	-khtml-border-radius: 4px 4px 4px 4px ;
	border-radius: 4px 4px 4px 4px ;
	background-color:#4f5aa4;
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
	padding:5px;
	text-align:center;
	width:302px;
	height:30px;
	border:1px solid #4f5aa4;
	margin-top:20px;
}
-->
</style>
<div id="content">
	<div class="advice_info">
			<div class="advice_head"><h2>义警登录</h2></div>
			<!-- 
			<div class="logo">
				<img src="catalog/view/theme/mobile/image/xj/login/header.png" width="100%" height="300px" />
			</div>
			 -->
			<?php echo $this->getChild('module/slidephone',array('width'=>100,'height'=>100,"banner_id"=>7)); ?>
			<div class="advice_content">
    <div>
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
        <div class="input_content">
          <div class="card_no">
             <input type="text" name="card_no" value="<?php echo $card_no; ?>" placeholder="身份证号" style="width:295px;height:40px;line-height:40px;padding-left:5px;background-image:url('catalog/view/theme/mobile/image/xj/login/user_name.png');background-position:right center;background-repeat:no-repeat;"/>
          </div>
          <div class="password">
             <input type="password" name="password" value="<?php echo $password; ?>"   placeholder="密码" style="width:295px;height:40px;line-height:40px;padding-left:5px;background-image:url('catalog/view/theme/mobile/image/xj/login/lock.png');background-position:right center;background-repeat:no-repeat;"/>
          </div>
          <input type="submit" value="<?php echo $button_login; ?>" class="submit_button" />
          <!-- 
          <a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?></a><br />
          <br />
          <input type="submit" value="<?php echo $button_login; ?>" class="button" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $register; ?>" >注册</a>
          <?php if ($redirect) { ?>
          <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
          <?php } ?>
           -->
        </div>
      </form>
    </div>
  </div>
  </div>
 </div>
<script type="text/javascript"><!--
$('#login input').keydown(function(e) {
	if (e.keyCode == 13) {
		$('#login').submit();
	}
});
//--></script> 
<?php echo $footer; ?>